package com.yanfan.maintain.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author huan
 * @Description 区域楼栋相关接口
 * @ClassName 2023年08月03日 15:59:00
 * @Version 1.0
 **/
public class CompanyBuildAreaEntity {

    private Long id;

    private String name;

    private Integer type;
    private String typeName;

    /**
     * 负责人名称
     */
    private String principalName;
    /**
     * 负责人ID
     */
    private String principalId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 父级Id
     */
    private Long parentId;
    /**
     * 父级Id
     */
    private String parentName;
    /**
     * 电话
     */
    private String phone;

    /**
     * 面积
     */
    private double area;


    /**
     * 新增公司使用  (楼栋名称)
     */
    private String buildName;

    private Integer buildingId;

    private List<CompanyBuildAreaEntity> children = new ArrayList<CompanyBuildAreaEntity>();

    public Integer getBuildingId() {return buildingId;}

    public void setBuildingId(Integer buildingId) {this.buildingId = buildingId;}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPrincipalName() {
        return principalName;
    }

    public void setPrincipalName(String principalName) {
        this.principalName = principalName;
    }

    public String getPrincipalId() {
        return principalId;
    }

    public void setPrincipalId(String principalId) {
        this.principalId = principalId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<CompanyBuildAreaEntity> getChildren() {
        return children;
    }

    public void setChildren(List<CompanyBuildAreaEntity> children) {
        this.children = children;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }


    public double getArea() {
        return area;
    }

    public void setArea(double area) {
        this.area = area;
    }


    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
